<template>
	<view class="u-page">
		<view class="box">
			<u-icon name="checkmark-circle-fill" size="120" color="#0b9d43"></u-icon>
			<text class="t1">授权成功！</text>
			<view class="t2">
				<div class="button" @click="goHome">
					<span>返回到首页</span>
				</div>
			</view>
		</view>	
	</view>
</template>

<script>
	import {baseUrl,methods} from '@/utils/methods.js';
	export default {
		data() {
			return {
				
			}
		},
		onLoad(e) {
			
		},
		methods: {
			...methods,
			goHome:function(){
				this.$reLaunch('index/index');
			}
		}
	} 
</script>

<style lang="scss">
	.box{
		display: flex;
		flex-direction: column;
		align-items: center;
		height: 600rpx;
		padding-top: 200rpx;
		justify-content: space-around;
		.t1{
			font-size: 60rpx;
			position: relative;
			left: 12rpx;
		}
		.t2{
			margin: 0 auto;
			.button{
				margin:0 auto;
				font-size:20px;
				padding:10px 30px;
				background:rgb(11, 157, 67);
				color:#fff;
				text-align:center;
				border-radius:6px;
			}
		}
	}
	
</style>